<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			document.write("<table style='border-collapse: collapse;'>");
			for(var i=1;i<=9;i++){
				document.write("<tr>");
				for(var j=1;j<=i;j++){
					document.write("<td style='border: #000000 1px solid; background-color: red;'>");
					document.write(i+"*"+j+"="+i*j)
					document.write("</td>");
				}
				document.write("</tr>");
			}
			document.write("</ table>");
		</script>
	</head>
	<body>
		
	</body>
</html>
